package com.lollipop.websocket.repository;

import com.lollipop.websocket.pojo.UserToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author: J.K
 * @Date: 2021-07-07 14:15
 * @Description:
 */
@Repository
public interface UserTokenRepository extends JpaRepository<UserToken, Long> {
    /**
     * 获取UUID
     *
     * @param uuid
     * @return
     */
    UserToken getByUuid(String uuid);
}
